package cn.uniquesoft.service.impl;

import org.springframework.stereotype.Service;

import cn.uniquesoft.mapper.ConsultantMapper;
import cn.uniquesoft.service.IConsultantService;
import cn.uniquesoft.service.base.BaseServiceImpl;
import cn.uniquesoft.vo.ConsultantVO;

import java.util.List;

@Service
public class ConsultantServiceImpl extends BaseServiceImpl<ConsultantVO> implements IConsultantService {
	private ConsultantMapper consultantMapper;
	public ConsultantServiceImpl(ConsultantMapper consultantMapper){
		super();
		this.baseMapper = consultantMapper;
		this.consultantMapper = consultantMapper;
		
	}

	@Override
	public List<ConsultantVO> getItemsByIpid(int ipid) {
		return this.consultantMapper.getItemsByIpid(ipid);
	}

	@Override
	public List<ConsultantVO> getConsultantListByIbank(ConsultantVO item) {
		return this.consultantMapper.getConsultantListByIbank(item);
	}
}
